package com.titanrise.crm.environment.menu.action;

public class JumpToFunction extends Action {
    private final String path;
    private final int key;

    private JumpToFunction(String path, int key) {
        this.path = path;
        this.key = key;
    }

    public static JumpToFunction getInstance(String path, int key) {
        return new JumpToFunction(path, key);
    }

    public String getPath() {
        return path;
    }

    public int getKey() {
        return key;
    }
}
